package com.sdhs.paas.configserver;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.context.annotation.Bean;
import org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter;


/**
 * 配置中心<p>
 *
 * @author kjc
 * 
 */
@SpringBootApplication
@EnableConfigServer
@EnableDiscoveryClient
public class ConfigServer {

	private static final Logger logger = LoggerFactory.getLogger(ConfigServer.class);

	public static void main(String[] args) {
		SpringApplication.run(ConfigServer.class, args);
	}

}
